﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.SysManage.Menu.Dto
{
    public class MenuManageDto
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { set; get; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public int PId { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 页面地址
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 排序Id
        /// </summary>
        public int SortId { get; set; }

        /// <summary>
        /// 启用
        /// </summary>
        public bool Disable { get; set; }

        public List<MenuManageDto>? Children { get; set; }
    }
}
